<?php
/**
 * @author jiangyong<jiangyong.go@qq.com>
 * @date   2025/6/17 20:21
 */

namespace App\Lib;

class Obj
{
    public static function configure($object, $properties)
    {
        foreach ($properties as $name => $value) {
            $object->$name = $value;
        }

        return $object;
    }
}
